{# src/Abzu/InitBundle/Resources/views/AzSettings/form.html.twig #}

{% if not azSetting.id %}
<form action="{{ path('AbzuInitBundle_AzSettings_create') }}"
      method="post" class="az-settings">
{% else %}
<form action="{{ path('AbzuInitBundle_AzSettings_update', { 'id': azSetting.id }) }}"
      method="post" class="az-settings">
{% endif %}
      {{ form_row(form.name) }}
      {{ form_row(form.title) }}
      {{ form_row(form.value_type) }}
      {{ form_row(form.value) }}
      {{ form_rest(form) }}
      <input type="submit" value="Submit" />
</form>
